package com.hcyy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hcyy.dao.CustOrderMxDao;
import com.hcyy.entity.CustOrderMx;
import com.hcyy.service.CustOrderMxService;

@Service
@Transactional
public class CustOrderMxServiceImpl implements CustOrderMxService {

	@Autowired
	private CustOrderMxDao custOrderMxDao;
	@Override
	public void addMx(CustOrderMx custOrderMx) {
		custOrderMxDao.insertCustOrderMx(custOrderMx);
	}
	@Override
	public List<CustOrderMx> findMxBySid(String sid) {
		return custOrderMxDao.findMxBySid(sid);
	}
	
}
